{% extends "layout.html" %}
{% block title %}新建游戏{% endblock %}
{% block head %}

{% endblock %}
{% block content %}
<div class="new-post">
  <div class="edit-post">
    <form action="/games/add/" method="post">
      {{ form.csrf_token }}
      <div class="post-title">
        <input type="text" name="title" placeholder="游戏源名"/>
      </div>
      <div class="post-slug">
        <input type="text" name="title_translation" placeholder="游戏译名">
      </div>
      <div class="post-content">
        <input type="text" name="developer" placeholder="开发者"/>
      </div>
      <div class="post-content">
        <input type="text" name="developer_site" placeholder="开发者官网"/>
      </div>
      <div class="post-content">
        <input type="text" name="intro" placeholder="游戏介绍"/>
      </div>
      <div>
        <button type="submit">创建游戏</button>
      </div>
  </div>
</div>
{% endblock %}

{% block footer %}
{% endblock %}